package com.qunji.cpsdistribution.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author sjq
 * @since 2020-07-23
 */
public class WithdrawDeposit extends Model<WithdrawDeposit> {

    private static final long serialVersionUID = 1L;

    /**
     * 提现id
     */
    @TableId(value = "deposit_id", type = IdType.AUTO)
    private Long depositId;
    /**
     * 提现金额
     */
    private BigDecimal depositMoney;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 提现账号
     */
    private String depositNumber;


    public Long getDepositId() {
        return depositId;
    }

    public void setDepositId(Long depositId) {
        this.depositId = depositId;
    }

    public BigDecimal getDepositMoney() {
        return depositMoney;
    }

    public void setDepositMoney(BigDecimal depositMoney) {
        this.depositMoney = depositMoney;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getDepositNumber() {
        return depositNumber;
    }

    public void setDepositNumber(String depositNumber) {
        this.depositNumber = depositNumber;
    }

    @Override
    protected Serializable pkVal() {
        return this.depositId;
    }

    @Override
    public String toString() {
        return "WithdrawDeposit{" +
        ", depositId=" + depositId +
        ", depositMoney=" + depositMoney +
        ", userId=" + userId +
        ", createTime=" + createTime +
        ", depositNumber=" + depositNumber +
        "}";
    }
}
